package services

import (
	"genealogy/dao"
	"genealogy/models"
)

func GetMenuByLevel(level int) (error, []models.Menu) {
	err, menuData := dao.GetMenuByLevel(level)
	return err, menuData
}
